package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.ChannelDto;
import com.heima.model.wemedia.pojos.WmSensitive;

public interface WmSensitiveService extends IService<WmSensitive> {

    /**
     * 添加敏感词
     * @param adSensitive
     * @return
     */
    public ResponseResult insert(WmSensitive adSensitive);


    /**
     * 分页查询敏感词
     * @param channelDto
     * @return
     */
    ResponseResult  pageList(ChannelDto channelDto);


    /**
     * 修改敏感词
     * @param adSensitive
     * @return
     */
    ResponseResult updateSensitive(WmSensitive adSensitive);

    /**
     * 删除敏感词
     * @param id
     * @return
     */
    ResponseResult deleteSensitive(Integer id);
}
